﻿using System;

namespace FileRenamer
{
	public class Settings
	{
		public string FolderPath = "";
		public bool Recursive = false;
		public bool EnableExtensions = true;

		public bool Save()
		{
			return Helper.HFile.XmlSerializeData(this.GetType(), this, Globals.SettingsFile);
		}
		public static Settings LoadSettings()
		{
			return (Settings)Helper.HFile.XmlDeSerializeData(typeof(Settings), Globals.SettingsFile);
		}
	}
}
